package com.knowledge.graph.model.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @description: 知识点实体
 * @author jiwenlong
 * @date 2023/11/22 19:38
 * @version 1.0
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@TableName("node")
public class Node {

    @TableId(type = IdType.AUTO)
    private Integer id;

    private String name;
}
